val String.foo: String get() = ""

fun take(s: String?) {
    s?.<expr>foo</expr>
}